<script type="text/javascript">
    $(document).ready(function(){
        $('.poup_class_notification').on('click','.poup_notification',function(){
            var product = $(this).find('.id_comment_product').text();
            var url =$('#path').val()+'product/id/' +product;
            window.location =url;
            // var win=window.open(url, '_newtab');
            //win.focus();
        });


        setInterval(function(){
            var isHidden = $( ".poup_notification" ).is( ":visible" );
            if(isHidden == true)
            {
                $( ".poup_notification" ).fadeOut(2000, function() {
                    // Animation complete.
                });
            }
            },3000);
    });
</script>
<div class="poup_class_notification">

</div>

